.menu-height{
  height: calc(100% - 80px);
}

.menu{
  list-style: none;
  width: 100%;
  padding: 0;
  margin:0;
  line-height: 50px;
  overflow: scroll;
}
.menu > li{
  transition: all .5s;
  overflow: hidden;
}
.menu i{
  transition: transform 0.5s;
}
.menu div{
  width: 96%;
  margin-left: 2%;
  display: flex;
  flex-direction: row;
  justify-content: start;
  text-align: left !important;
  padding-left: 50px;
  height: 50px;
  cursor: pointer;
  background-color: #302e2d;
}
.menu div:hover,
.menu div.active{
  width: 100%;
  background-color: #33B35A;
}
.menu div:first-child{
  width: 100%;
  margin-left: 0%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color:rgb(236, 233, 233);
  background-color: rgba(1, 7, 34, 0.7);
  border-bottom: 1px solid rgba(248, 248, 255, 0.096);
  box-sizing: border-box;
  border-left:3px solid #33B35A;

}
.menu div:first-child:hover{
  background-color: rgba(1, 7, 34, 0.8);
}
i {
  color: rgb(184, 177, 177) !important;
}
.menu div>a{
  display: block;
}
.menu div>a:link,
.menu div>a:visited,
.menu div>a:hover
{
  display: block;
  width: 100%;
  text-decoration: none;
  color:rgb(235, 235, 240)
}
.menu div>a:active
{
color:darkorange
}
.switch-menu{
  height: 50px;
  transition: all 0.3s;
  overflow: hidden;
}

/* 美化导航中的滚动条 */
/* 整体部分 */
::-webkit-scrollbar{
  width: 5px;
  height: 5px; /*可控制水平和垂直交叉处尖角的大小*/
}
/* 滑动轨道 */
::-webkit-scrollbar-track{
  border-radius: 0px;
  background:#292929;
}
/* 滑块 */
::-webkit-scrollbar-thumb{
  border-radius: 5px;
  box-shadow: inset 0 0 6px rgba(0,0,0,.72);
  background-color: #33B35A;
}
/* 滑块效果 */
::-webkit-scrollbar-thumb:hover{
  border-radius: 5px;
  box-shadow: inset 0 0 6px rgba(0,0,0,.72);
  background-color: #33B35A;

}
/* 滑动两头的监听按钮颜色 */
::-webkit-scrollbar-button{
  background-color: rgba(3, 26, 70, 0.637);
}
/*滚动条相交处尖角的颜色 */
::-webkit-scrollbar-corner{
  background-color: #000;
}